<div class="content1" href="">


    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title>信审统计报表</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/base.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/layer.css" rel="stylesheet">
    <link href="css/pagination.css" rel="stylesheet">
    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet">
    <link href="css/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="css/jedate.css" rel="stylesheet">
    <style>
        #loanDetail{
            background-color: #fff;
            margin-bottom: 15px;
        }
        #loanDetail p{
            padding-left:0 ;
            padding-right: 0;
            margin: 6px 0 ;
        }
        #loanDetail .wd_60{
            display: inline-block;
            width: 102px;
            text-align: right;
            font-size: 12px;
            font-family: "微软雅黑";
        }
        #loanDetail .c13 .wd_60{
            float: left;
            margin-top: 5px;
        }
        #loanDetail .c13 input{
            float: left;
            font-size: 12px;
            font-family: "微软雅黑";
        }
        #loanDetail .col-lg-3 ,#loanDetail .c13{
            margin:5px 0;
            padding-left:5px;
            padding-right: 5px;
        }

        #loanDetail select option{
            font-size: 12px;
            font-family: "微软雅黑";
        }
        .search_btn {
            font-size: 12px;
            background-color: #09C;
            padding: 5px 16px;
            margin-top: 3px;
            margin-bottom: 5px;
        }
        .ta_r{
            text-align: right;
        }
        .mr_25{
            margin-right: 25px;
        }
        .phoneStyle:hover{
            cursor: pointer;
            color: #09C;
        }
        .phoneStyle{
            cursor: pointer;
        }
    </style>

<div class="hui"><img src="images/ajax-loader.gif"></div>
        <div class="content">
            <!--面包屑导航start-->
            <ol class="breadcrumb">
                <li class="active">信审统计报表</li>
            </ol>
            <div id="loanDetail" class="col-lg-12 col-md-12 col-sm-12">
                <div class="col-lg-3 col-md-3 col-sm-3"><span class="wd_60">渠道&nbsp;&nbsp;</span><input type="text" id="bizName"></div>
                <div class="col-lg-3 col-md-3 col-sm-3"><span class="wd_60">审核人员&nbsp;&nbsp;</span><input type="text" id="allocExamineUserName"></div>
                <div class="col-lg-3 col-md-3 col-sm-3"><span class="wd_60">资方&nbsp;&nbsp;</span><select id="fundSource"><option value="">请选择</option><option value="1">北银</option><option value="14">91金融</option><option value="13">沃付分期</option><option value="22">医美</option><option value="30">苏宁</option><option value="100">mini循环贷</option><option value="3">海尔教育</option><option value="4">安信小贷</option><option value="5">百度</option><option value="7">海尔租房</option><option value="8">华融</option><option value="11">贷鱼教育</option><option value="15">湖北消费金融</option><option value="16">91旺财</option><option value="18">晋商租房</option><option value="17">晋商教育</option></select></div>
                <div class="col-lg-3 col-md-3 col-sm-3"><span class="wd_60">业务类型&nbsp;&nbsp;</span><select id="sourceType">
                    <option value="">---请选择---</option>
                    <option value="1">教育</option>
                    <option value="2">租房</option>
                </select></div>
                <div class="col-lg-3 col-md-3 col-sm-3 cl3"><span class="wd_60">申请时间(开始)&nbsp;&nbsp;</span><input type="text" id="applyDateStart1" value="2019-05-20" placeholder="请选择时间" readonly=""></div>
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">申请时间(结束)&nbsp;&nbsp;</span><input type="text" id="applyDateStart2" value="2019-05-20" placeholder="请选择时间" readonly=""></div>
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">放款日期(开始)&nbsp;&nbsp;</span><input type="text" id="applyDateStart3" placeholder="请选择时间" readonly=""></div>
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">放款日期(结束)&nbsp;&nbsp;</span><input type="text" id="applyDateStart4" placeholder="请选择时间" readonly=""></div>
                <div class="col-lg-4 col-md-4 col-sm-4 col-lg-offset-3  col-md-offset-3 col-sm-offset-3 ta_r text-center">
                    <button class="btn btn-primary btn-sm search_btn" type="button" id="btn-search">查询</button>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <button class="btn btn-primary btn-sm search_btn mr_25" type="button" id="btn-export" onclick="exportResult();">导出</button>
                </div>
                <div class="clear"></div>
            </div>
            <div class="table-responsive">
                <div id="lendingList_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer"><div class="top"><div class="clear"></div></div><div id="lendingList_processing" class="dataTables_processing panel panel-default" style="display: none;">处理中...</div><table id="lendingList" style="width: 100%;" class="table table-bordered table-striped table-hover bg_wt dataTable no-footer" role="grid" aria-describedby="lendingList_info">
                    <thead style="border-bottom: 0;background-color: #fff;">
                    <tr role="row"><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">业务范围</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 134px;">订单编号</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 24px;">审核人员</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">状态</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 48px;">申请时间</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">初审时间</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 48px;">复审时间</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 62px;">审批历时</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">渠道</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">门店名称</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">客户姓名</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 128px;">身份证号</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 78px;">手机号</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 34px;">放款日期</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 53px;">申请金额</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 36px;">贷款余额</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 39px;">期供款</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 15px;">申请期限</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">资方</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">逾期金额</th><th class="text-center fs_13 sorting_disabled" rowspan="1" colspan="1" style="width: 12px;">逾期天数</th></tr>
                    </thead>
                <tbody><tr role="row" class="odd"><td>教育</td><td>6535437731610231809</td><td>黄玲玲（教育）</td><td>打回修改</td><td>2019-05-20 13:32:39</td><td></td><td></td><td></td><td>广东明世在线教育科技有限公司</td><td>广东明世在线教育科技有限公司</td><td>刘贤海</td><td>36073119970222171X</td><td>13197966357</td><td></td><td>11960.00</td><td>0</td><td>996.67</td><td>12</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="even"><td>教育</td><td>6535806014877336577</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 10:57:01</td><td></td><td>2019-05-20 10:34:26</td><td>0:-22:-35.0</td><td>武汉远航智慧数码科技有限公司</td><td>武汉远航智慧数码科技有限公司</td><td>王睿</td><td>420116199906024515</td><td>18571594262</td><td>2019-05-20</td><td>16800.00</td><td>16800</td><td>933.33</td><td>18</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="odd"><td>教育</td><td>6535879419711456257</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 12:39:25</td><td></td><td></td><td></td><td>广东明世在线教育科技有限公司</td><td>广东明世在线教育科技有限公司</td><td>徐灿灿</td><td>411524199909282748</td><td>17629981815</td><td>2019-05-20</td><td>6215.00</td><td>6215</td><td>517.92</td><td>12</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="even"><td>教育</td><td>6535908452835787777</td><td>司坤卓</td><td>审批通过</td><td>2019-05-20 00:06:46</td><td></td><td></td><td></td><td>广东明世在线教育科技有限公司</td><td>广东明世在线教育科技有限公司</td><td>万福斌</td><td>612326198605045415</td><td>18292600504</td><td></td><td>8984.00</td><td>0</td><td>748.67</td><td>12</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="odd"><td>教育</td><td>6536047057279386625</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 09:17:32</td><td></td><td></td><td></td><td>深圳市宝安区卓文教育培训中心</td><td>深圳市宝安区卓文教育培训中心</td><td>苏志鹏</td><td>431121199712221012</td><td>15220058658</td><td>2019-05-20</td><td>14800.00</td><td>14800</td><td>822.22</td><td>18</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="even"><td>教育</td><td>6536047400207778817</td><td>司坤卓</td><td>订单取消</td><td>2019-05-20 09:18:54</td><td></td><td></td><td></td><td>广东明世在线教育科技有限公司</td><td>广东明世在线教育科技有限公司</td><td>朱海玲</td><td>450923199512227224</td><td>18277951124</td><td></td><td>6666.00</td><td>0</td><td>555.50</td><td>12</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="odd"><td>教育</td><td>6536048788262355969</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 09:24:25</td><td></td><td></td><td></td><td>广东明世在线教育科技有限公司</td><td>广东明世在线教育科技有限公司</td><td>秦丽</td><td>411503199611014220</td><td>13145720788</td><td>2019-05-20</td><td>9300.00</td><td>9300</td><td>775.00</td><td>12</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="even"><td>教育</td><td>6536066070680175617</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 10:33:05</td><td></td><td></td><td></td><td>深圳市宝安区卓文教育培训中心</td><td>深圳市宝安区卓文教育培训中心</td><td>袁世贵</td><td>469002199710044911</td><td>18889393390</td><td>2019-05-20</td><td>14800.00</td><td>14800</td><td>822.22</td><td>18</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="odd"><td>教育</td><td>6536071557894112257</td><td>司坤卓</td><td>已放款</td><td>2019-05-20 10:54:53</td><td></td><td></td><td></td><td>上海海同优才教育培训有限责任公司</td><td>上海海同优才教育培训有限责任公司</td><td>肖艳旭</td><td>412822199010014205</td><td>15720581969</td><td>2019-05-20</td><td>16800.00</td><td>16800</td><td>700.00</td><td>24</td><td>晋商教育</td><td></td><td></td></tr><tr role="row" class="even"><td>教育</td><td>6536071597425427457</td><td>司坤卓</td><td>审批通过</td><td>2019-05-20 10:55:03</td><td></td><td></td><td></td><td>深圳市神州通联科技有限公司</td><td>深圳市神州通联科技有限公司</td><td>林海强</td><td>460007199201020034</td><td>13907694041</td><td></td><td>21800.00</td><td>0</td><td>908.33</td><td>24</td><td>晋商教育</td><td></td><td></td></tr></tbody></table><div class="bottom"><div class="dataTables_info" id="lendingList_info" role="status" aria-live="polite">显示第 1 - 10 条记录，共22 条</div><div class="dataTables_length" id="lendingList_length"><label> <select name="lendingList_length" aria-controls="lendingList" class="form-control input-sm"><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> </label></div><div class="dataTables_paginate paging_full_numbers" id="lendingList_paginate"><ul class="pagination"><li class="paginate_button first disabled" id="lendingList_first"><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="0" tabindex="0">首页</a></li><li class="paginate_button previous disabled" id="lendingList_previous"><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="1" tabindex="0">上页</a></li><li class="paginate_button active"><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="2" tabindex="0">1</a></li><li class="paginate_button "><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="3" tabindex="0">2</a></li><li class="paginate_button "><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="4" tabindex="0">3</a></li><li class="paginate_button next" id="lendingList_next"><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="5" tabindex="0">下页</a></li><li class="paginate_button last" id="lendingList_last"><a href="javascript:void(0);" aria-controls="lendingList" data-dt-idx="6" tabindex="0">末页</a></li></ul></div><div class="clear"></div></div></div>
            </div>
            <!--正文内容end-->
        </div>
<script src="jedate/jedate.min.js"></script>
    <script src="js/jquery-2.1.1.min.js"></script>
    <script src="js/common.js"></script>
    <script>

        function _search(_page) {
            var bizName,allocExamineUserName,fundSource,sourceType,applyDateStart1,applyDateStart2,applyDateStart3,applyDateStart4,pageIndex,pageSize;
            bizName = $("#bizName").val();
            allocExamineUserName = $("#allocExamineUserName").val();
            fundSource = $("#fundSource").val();
            sourceType = $("#sourceType").val();
            applyDateStart1 = $("#applyDateStart1").val();
            applyDateStart2 = $("#applyDateStart2").val();
            applyDateStart3 = $("#applyDateStart3").val();
            applyDateStart4 = $("#applyDateStart4").val();
            if(_page!=""){
                var tmp={
                    "bizName":bizName,
                    "allocExamineUserName":allocExamineUserName,
                    "fundSource":fundSource,
                    "sourceType":sourceType,
                    "applyDateStart1":applyDateStart1,
                    "applyDateStart2":applyDateStart2,
                    "applyDateStart3":applyDateStart3,
                    "applyDateStart4":applyDateStart4,
                    "pageIndex":_page,
                    "pageSize":1
                };
            }else{
                var tmp={
                    "bizName":bizName,
                    "allocExamineUserName":allocExamineUserName,
                    "fundSource":fundSource,
                    "sourceType":sourceType,
                    "applyDateStart1":applyDateStart1,
                    "applyDateStart2":applyDateStart2,
                    "applyDateStart3":applyDateStart3,
                    "applyDateStart4":applyDateStart4,
                    "pageIndex":0,
                    "pageSize":1
                };
            }


            $.ajax({
                type: 'POST',
                url: 'http://localhost:8010/pikou/queryByPage',
                dataType: 'JSON',
                data: JSON.stringify(tmp),
                contentType: "application/json;charset=utf-8",
                success: function (res) {
                    _list = res.data.dataList;
                    var _html = "";
                    if(res.success){
                        $("#bizList_info").html("当前是第"+res.data.pageIndex+"页，共"+res.data.totalPage+"页")
                        if(_list.length>0){
                            page(2,1);
                        }
                        for(var i = 0;i<_list.length;i++){
                            _html+="<tr>"+
                                "<td>"+_list[i].statusName+"</td>"+
                                "<td>"+_list[i].approvalChannel+"</td>"+
                                "<td>"+_list[i].isApprovalName+"</td>"+
                                "<td>"+_list[i].loanContractNum+"</td>"+
                                "<td>"+_list[i].customerName+"</td>"+
                                "<td>"+_list[i].idCode+"</td>"+
                                "<td>"+_list[i].deductible+"</td>"+
                                "<td>"+_list[i].reimbursementAccountOpeningBank+"</td>"+
                                "<td>"+_list[i].paymentAccount+"</td>"+
                                "<td>"+_list[i].deductionResults+"</td>"+
                                "<td>"+_list[i].createName+"</td>"+
                                "<td>"+_list[i].updateName+"</td>";
                            _html+="<tr/>";
                        }
                        $("#lendingList tbody").html(_html);

                    }else{
                        console.log(res.errorMessage);
                    }
                }
            })
        }
        _search()

        //分页点击事件
        $(".common_page").on("click","a",function(){
            console.log($(this));
            $(this).addClass("active");
            $(this).siblings().removeClass("active");
            var _index = parseInt($(this).attr("page"));
            if(_index==1){
                $(".prev_page").attr("disabled","disabled");
            }else{
                $(".prev_page").attr("page",_index-1);
                $(".last_page").attr("page",_index+1);
            }
            var _page = $(this).attr("page");
            _search(_page)
        })

        //分页点击事件
        $(".btn-search").on("click","a",function(){
            console.log($(this));
            $(this).addClass("active");
            $(this).siblings().removeClass("active");
            var _index = parseInt($(this).attr("page"));
            if(_index==1){
                $(".prev_page").attr("disabled","disabled");
            }else{
                $(".prev_page").attr("page",_index-1);
                $(".last_page").attr("page",_index+1);
            }
            var _page = $(this).attr("page");
            _search(_page)
        })
    </script>

</div>